﻿using System;
using System.Runtime.Serialization;
using BaseCommon;
namespace DBModel
{
    [Serializable()]
    [DataContract(Name = "SysOperationLogModel")]
    public partial class SysOperationLogModel
    {
        /// <summary>
        /// ID 主键
        /// </summary>
        [DataMember(Name = "ID")]
        public long ID { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        [DataMember(Name = "OperationTime")]
        public DateTime OperationTime { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        [DataMember(Name = "IPAddress")]
        public string IPAddress { get; set; }

        /// <summary>
        /// 功能名称
        /// </summary>
        [DataMember(Name = "FunctionName")]
        public string FunctionName { get; set; }

        /// <summary>
        /// 操作实例
        /// </summary>
        [DataMember(Name = "OperationInstance")]
        public string OperationInstance { get; set; }

        /// <summary>
        /// 操作类型
        /// </summary>
        [DataMember(Name = "OperationType")]
        public string OperationType { get; set; }

        /// <summary>
        /// 执行结果
        /// </summary>
        [DataMember(Name = "ExecutionResult")]
        public string ExecutionResult { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        [DataMember(Name = "OperatorID")]
        public string OperatorID { get; set; }

        /// <summary>
        /// 自定义1
        /// </summary>
        [DataMember(Name = "Def1")]
        public string Def1 { get; set; }

        /// <summary>
        /// 自定义2
        /// </summary>
        [DataMember(Name = "def2")]
        public string def2 { get; set; }


        //实体增删改 标记
        /// <summary>
        /// 实体增删改 标记
        /// </summary>
        [StatusProperty()]
        [DataMember]
        public EntityStatus EStatus { get; set; }
    }

    public partial class SysOperationLogModel
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        [DataMember(Name = "BeDate")]
        public DateTime BeDate { get; set; }


        /// <summary>
        /// 结束时间
        /// </summary>
        [DataMember(Name = "EnDate")]
        public DateTime EnDate { get; set; }

        /// <summary>
        /// 操作用户
        /// </summary>
        [DataMember(Name = "UserName")]
        public string  UserName { get; set; }


      


    }
}
